Reads the value of a given property of the CurrentObject property.
Syntax
Function GetPropertyValue(
PropertySetName As String,
PropertyDefName As String,
[DefaultValue]) As Variant
Name | Description |
---|---|
PropertySetName |
The internal name of the property set that contains the property. |
PropertyDefName |
The internal name of the property that needs to be read. |
DefaultValue |
See Remarks. |
Return Value
The value of the property.
Remarks
This method returns the value cached by the interface extension designer. If the value was changed during the current operation (for example, edit property page), this value will be different than the one stored in the vault.
PropertySetName
If the PropertySetName is empty, the custom propertyset defined by the extension is used.
Default Value
A property might not have a value (see About accessing object properties ). In this case the method will return Null unless a default value is specified.